package com.mall.app.utils;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * 拓展shiro 中的UsernamePasswordToken
 * @author Lee Sin
 *
 */

public class MyToken extends UsernamePasswordToken {

        private static final long serialVersionUID = 1L;
        private String usertype ;

        public String getUsertype() {
            return usertype;
        }
        public void setUsertype(String usertype) {
            this.usertype = usertype;
        }

        public MyToken(String loginName, String password, String usertype) {

            super(loginName, password);

            this.usertype = usertype;

        }

}
